/*
 * Copyright (c) 2016 Breezee.org. All Rights Reserved.
 */

/*form*/
.form-buttons {
    text-align: center;
}

.form-group {
    margin-bottom: 5px;
}

.unzhehang {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: keep-all;
}

.box .box-title {
    background: none repeat scroll 0 0 #368ee0;
}

.box.satgreen .box-title {
    background: none repeat scroll 0 0 #56af45;
    border-color: #56af45 !important;
}

.box.satgreen .box-content {
    border-color: #56af45 !important;
}

.box.yellow .box-title {
    background: none repeat scroll 0 0 #c49f47;
    border-color: #c49f47 !important;
}

.box.yellow .box-content {
    border-color: #c49f47 !important;
}

/*****mt-checkbox in td ***/
td > .mt-checkbox.mt-checkbox-single, td > .mt-radio.mt-radio-single, th > .mt-checkbox.mt-checkbox-single, th > .mt-radio.mt-radio-single {
    right: -5px;
}

.mt-checkbox, .mt-radio {
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease 0s;
}

label {
    font-weight: 400;
}

.mt-checkbox > input, .mt-radio > input {
    left: 0;
    top: 0;
    z-index: 999;
    opacity: 0;
    position: absolute;
    width: 22px;
    height: 22px;
}

.input-icon > i, .mt-checkbox-list .mt-checkbox, .mt-checkbox-list .mt-radio, .mt-checkbox > input:checked ~ span::after, .mt-radio-list .mt-checkbox, .mt-radio-list .mt-radio, .mt-radio > input:checked ~ span::after {
    display: block;
}

.mt-checkbox > span::after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #666;
    border-image: none;
    border-style: solid;
    border-width: 0 2px 2px 0;
    height: 10px;
    left: 6px;
    top: 3px;
    transform: rotate(45deg);
    width: 5px;
}

.mt-checkbox > span::after, .mt-radio > span::after {
    content: "";
    display: none;
    position: absolute;
}

*, *::after, *::before {
    box-sizing: border-box;
}

.mt-checkbox.mt-checkbox-outline:hover > input:checked:not([disabled]) ~ span, .mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]) ~ span, .mt-checkbox.mt-checkbox-outline > input:checked ~ span, .mt-checkbox.mt-checkbox-outline > input:focus ~ span, .mt-checkbox.mt-checkbox-outline > span, .mt-checkbox.mt-radio-outline:hover > input:checked:not([disabled]) ~ span, .mt-checkbox.mt-radio-outline:hover > input:not([disabled]) ~ span, .mt-checkbox.mt-radio-outline > input:checked ~ span, .mt-checkbox.mt-radio-outline > input:focus ~ span, .mt-checkbox.mt-radio-outline > span, .mt-radio.mt-checkbox-outline:hover > input:checked:not([disabled]) ~ span, .mt-radio.mt-checkbox-outline:hover > input:not([disabled]) ~ span, .mt-radio.mt-checkbox-outline > input:checked ~ span, .mt-radio.mt-checkbox-outline > input:focus ~ span, .mt-radio.mt-checkbox-outline > span, .mt-radio.mt-radio-outline:hover > input:checked:not([disabled]) ~ span, .mt-radio.mt-radio-outline:hover > input:not([disabled]) ~ span, .mt-radio.mt-radio-outline > input:checked ~ span, .mt-radio.mt-radio-outline > input:focus ~ span, .mt-radio.mt-radio-outline > span {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #d9d9d9;
}

.mt-checkbox:hover > input:checked:not([disabled]) ~ span, .mt-checkbox > input:checked ~ span, .mt-radio:hover > input:checked:not([disabled]) ~ span, .mt-radio > input:checked ~ span {
    background: none repeat scroll 0 0 #d9d9d9;
    transition: all 0.3s ease 0s;
}

.mt-checkbox.mt-checkbox-outline:hover > input:checked:not([disabled]) ~ span, .mt-checkbox.mt-checkbox-outline:hover > input:not([disabled]) ~ span, .mt-checkbox.mt-checkbox-outline > input:checked ~ span, .mt-checkbox.mt-checkbox-outline > input:focus ~ span, .mt-checkbox.mt-checkbox-outline > span, .mt-checkbox.mt-radio-outline:hover > input:checked:not([disabled]) ~ span, .mt-checkbox.mt-radio-outline:hover > input:not([disabled]) ~ span, .mt-checkbox.mt-radio-outline > input:checked ~ span, .mt-checkbox.mt-radio-outline > input:focus ~ span, .mt-checkbox.mt-radio-outline > span, .mt-radio.mt-checkbox-outline:hover > input:checked:not([disabled]) ~ span, .mt-radio.mt-checkbox-outline:hover > input:not([disabled]) ~ span, .mt-radio.mt-checkbox-outline > input:checked ~ span, .mt-radio.mt-checkbox-outline > input:focus ~ span, .mt-radio.mt-checkbox-outline > span, .mt-radio.mt-radio-outline:hover > input:checked:not([disabled]) ~ span, .mt-radio.mt-radio-outline:hover > input:not([disabled]) ~ span, .mt-radio.mt-radio-outline > input:checked ~ span, .mt-radio.mt-radio-outline > input:focus ~ span, .mt-radio.mt-radio-outline > span {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 1px solid #d9d9d9;
    z-index: 998;
}

.mt-checkbox > span, .mt-radio > span {
    background: none repeat scroll 0 0 #e6e6e6;
    border: 1px solid transparent;
    height: 19px;
    left: 0;
    position: absolute;
    top: 0;
    width: 19px;
}

.actions {
    float: right;
    margin-right: 3px;
    margin-top: -24px;
}

.actions .btn {
    /*background:none repeat scroll 0 0 #000;*/
    padding: 5px 9px;
    color: #fff;
}

.actions .btn:focus, .btn:hover {
    color: #1abc9c;
}

.listFooter .pagination {
    border-radius: 0;
    /*margin: 0 2px 2px 0;*/
}

.listFooter .pageInfo {
    line-height: 35px;
}

.listFooter select {
    height: 21px;
    margin: 0;
}

.edit-form {
    margin-bottom: 4px;
    margin-top: 8px;
}

.edit-form .checkbox, .radio {
    padding-left: 25px;
}

.list-table thead tr th {
    background-color: #f1f4f7;
    color: #3f444a;
    font-size: 14px;
    font-weight: 700;
}

/********override bootstrap*******/
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    padding: 4px 8px;
    vertical-align: middle;
}

.panel {
    border-radius: 0;
}

.panel-heading {
    border-radius: 0;
}

.pagination li > a, .pagination li > span {
    min-height: 28px;
    padding: 3px 8px;
    line-height: 28px;
}

.pagination li:first-child > a, .pagination li:first-child > span {
    border-radius: 0;
}

.modal-dialog {
    position: absolute;
    left: 30%;
    top: 12%;
    max-height: 600px;
}

.modal-title {
    float: left;
    font-size: 17px;
    font-weight: 200;
    /*margin: 0.1em 0 0.1em 14px;*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 90%;
}

.modal-header {
    background: none repeat-x scroll 50% 50% #5e748b;
    border: 1px solid #5e748b;
    color: #fff;
    font-weight: bold;
    height: 45px;
    padding: 10px 15px;
}

.modal-content {
    border-radius: 0;
}

.modal-footer {
    padding: 10px;
    text-align: center;
}

.close {
    opacity: 1;
    color: #fff;
}

.form-horizontal .form-control, .modal-body .form-control, .select2-search input[type="text"] {
    border: 1px solid #bdc3c7;
    border-radius: 0;
    height: 32px;
    font-size: 13px;
    line-height: inherit;
    padding: 0;
}

.form-group label {
    line-height: inherit;
    padding-right: 1px;
}

.selectpicker.btn-default {
    background-color: #fff;
}

/***********btn for table*************/
.btn.btn-outline {
    border: 1px solid;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    font-size: 11px;
    margin: 0 8px;
    padding: 5px 8px;
}

.btn.btn-outline.purple {
    border-color: #8e44ad;
    color: #8e44ad;
}

.btn.btn-outline.dark {
    border-color: #2f353b;
    color: #2f353b;
}

.btn.btn-outline.green {
    border-color: #32c5d2;
    color: #32c5d2;
}

.btn.btn-outline.yellow {
    border-color: #f3c200;
    color: #f3c200;
}

.btn.btn-outline.blue {
    border-color: #3598dc;
    color: #3598dc;
}

.red {
    border-color: #e7505a;
    color: #e7505a;
    line-height: 1;
    padding: 6px 2px;
}

.btn.btn-outline.red {
    border-color: #e7505a;
    color: #e7505a;
}

.actions.btn.btn-outline {
    font-size: 13px;
    line-height: 2;
    padding: 4px 10px;
    width: 100%;
    margin-top: 15px;
}

.btn.btn-outline.default {
    background-color: #fff;
    border-color: #ccc;
    color: #333;
}

.btn-circle {
    border-radius: 25px !important;
    overflow: hidden;
}

.btn.btn-outline.purple.active,
.btn.btn-outline.purple:active,
.btn.btn-outline.purple:active:focus,
.btn.btn-outline.purple:active:hover,
.btn.btn-outline.purple:focus,
.btn.btn-outline.purple:hover {
    background-color: #8e44ad;
    color: #fff;
}

.btn.btn-outline.dark.active,
.btn.btn-outline.dark:active,
.btn.btn-outline.dark:active:focus,
.btn.btn-outline.dark:active:hover,
.btn.btn-outline.dark:focus,
.btn.btn-outline.dark:hover {
    background-color: #2f353b;
    border-color: #2f353b;
    color: #fff;
}

.btn.btn-outline.yellow.active,
.btn.btn-outline.yellow:active,
.btn.btn-outline.yellow:active:focus,
.btn.btn-outline.yellow:active:hover,
.btn.btn-outline.yellow:focus,
.btn.btn-outline.yellow:hover {
    background-color: #f3c200;
    border-color: #f3c200;
    color: #fff;
}

.btn.btn-outline.green.active,
.btn.btn-outline.green:active,
.btn.btn-outline.green:active:focus,
.btn.btn-outline.green:active:hover,
.btn.btn-outline.green:focus,
.btn.btn-outline.green:hover {
    background-color: #32c5d2;
    border-color: #32c5d2;
    color: #fff;
}

.btn.btn-outline.blue.active,
.btn.btn-outline.blue:active,
.btn.btn-outline.blue:active:focus,
.btn.btn-outline.blue:active:hover,
.btn.btn-outline.blue:focus,
.btn.btn-outline.blue:hover {
    background-color: #3598dc;
    border-color: #3598dc;
    color: #fff;
}

.btn.selectbtn {
    padding: 5px;
}

.mergeCell {
    border: 1px solid;
    text-align: center;
    font-size: 12px;
}

.prt-remark {
    font-weight: 400;
    color: #0066FF;
    max-width: 500px;
}

.dol-error {
    border: 1px solid #a94442;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.form-control.dol-error {
    border: 1px solid #a94442;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}

.dol-error:focus {
    border: 1px solid #843534;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ce8483;
}

.form-control.dol-error:focus {
    border: 1px solid #843534;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ce8483;
}

.form-control[disabled], .form-control[readonly] {
    color: #333333;
}

#content {
    padding: 5px 30px !important;
}

.breadcrumb {
    margin-bottom: 10px;
}

@media (min-width: 1200px) {
    #top-menu {
        vertical-align: bottom;
        margin-left: 17%;
    }

    a#main-menu-toggle {
        padding: 7px 12px;
    }
}

.menuItem.active a {
    background-color: #1e8fc6;
    /*color: #333 !important;*/
    font-weight: 700;
}

.menu-title {
    display: inline-block;
    text-align: left;
    z-index: 1;
    padding: 10px;
    font-size: 20px;
    font-weight: normal;
    line-height: 34px;
    margin: 0;
    width: 180px;
    color: #8d8d8d;
}

.icon-menu {
    display: inline-block;
    margin-right: 10px;
}

.nav-tabs.nav-stacked > li > a, .nav-tabs.nav-stacked > li > ul > li > a {
    padding: 10px 35px;
}

.divider {
    background-color: rgba(202, 206, 209, 0.5);
    height: 1px;
    margin: 3px 0;
    padding: auto 1rem;
    overflow: hidden;
}

table.table {
    margin: 0 !important;
}

.breadcrumb {
    margin-bottom: 5px;
}

.breadcrumb.list {
    padding: 8px 0;
}

.materiel-image {
    width: 90%;
}

input[placeholder], [placeholder], [placeholder] {
    color: #555 !important;
}

.box {
    margin: 0 0 5px 0;
}

.tab-content {
    margin-top: -1px;
    background: #fff;
    border: 1px solid #e4e6eb;
}

.media {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.media-body {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1 1 0;
}

.mr-3 {
    margin: 0.5rem 1rem !important;
    width: 120px;
}

.d-flex {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.media img {
    vertical-align: middle;
    border-style: none;
}

.checkInput {
    height: 28px;
    padding: 5px;
}

.modal-body .box .box-header {
    font-size: 16px;
    padding: 5px;
}